package com.asm.entity.sys;

import com.asm.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author morningbear
 * @description 报修单类
 * 包括广告位id，顾客id，工人任务单id，审核是否通过状态
 * @date 2019/7/11
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_maintenance")
public class Maintenance extends BaseEntity {

    /**
     * 广告位编号
     */
    @Column(name = "spot_id")
    private Long spotId;

    /**
     * 顾客编号
     */
    @Column(name = "customer_id")
    private Long customerId;

    /**
     * 业务员编号
     */
    @Column(name = "sell_id")
    private Long sellId;

    /**
     * 工单编号
     */
    @Column(name = "worker_order_id")
    private Long workerOrderId;

    /**
     * 维修单状态
     */
    @Column(name = "status")
    private String status;
}
